clearer fast reproduction instructions when TaskUpToDateValidator's second build fails Bug: 140265313 Test: Run `./gradlew :help -Pandroidx.verifyUpToDate` and see that it fails and recommends using -Pandroidx.verifyUpToDate to reproduce the error (in practice this usually runs as part of a more complicated invocation involving busytown/*.sh). Full error: * What went wrong: Ran two consecutive builds of the same tasks, and in the second build, observed: task :help not UP-TO-DATE. It was out-of-date because: [Task has not declared any outputs despite executing actions.] * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 962ms 1 actionable task: 1 executed Configuration cache entry reused. For help with unexpected failures, see development/diagnose-build-failure/README.md TaskUpToDateValidator's second build failed. To reproduce, try running './gradlew -Pandroidx.verifyUpToDate <failing tasks>' Change-Id: I65f5c5c7296c5209278a3daef42505bc45619550 
diff --git a/gradlew b/gradlew index 4adb3d3..73e2b5f 100755 --- a/gradlew +++ b/gradlew 
@@ -404,7 +404,7 @@  # Re-run Gradle, and find all tasks that are unexpectly out of date  if ! runGradle "$@" -PdisallowExecution --continue; then  echo >&2 - echo "TaskUpToDateValidator's second build failed, -PdisallowExecution specified" >&2 + echo "TaskUpToDateValidator's second build failed. To reproduce, try running './gradlew -Pandroidx.verifyUpToDate <failing tasks>'" >&2  exit 1  fi  fi